****Replication Code for "Inflation and Incumbent Approval: Experimental Evidence from the 2024 US Presidential Election"


**Table A2
reg  infltreat id_ind id_rep education female dummy_QAGE state2-state51


**Table B1
reg govapproval Q8 id_dem id_rep education female dummy_QAGE i.Q6
reg govconf Q8 id_dem id_rep education female dummy_QAGE i.Q6
reg  Q8 id_dem id_rep education female dummy_QAGE i.Q6


**Table C1 & Figure 1
*approval
reg govapproval infltreat
estimates store usate1b
reg govapproval infltreat id_dem id_rep education female dummy_QAGE i.Q6
estimates store usate1m

*confidence
reg govconf infltreat
estimates store usate2b
reg govconf infltreat id_dem id_rep education female dummy_QAGE i.Q6
estimates store usate2m

coefplot usate1b usate1m , keep(infltreat) xline(0, lcolor(gray)) name(usate1bm, replace) ciopts(lcolor(black)) mcolor(black)

coefplot usate2b usate2m , keep(infltreat) xline(0, lcolor(gray)) name(usate2bm, replace) ciopts(lcolor(black)) mcolor(black)

graph combine usate1bm usate2bm, col(2) xcommon


**Table C2
svyset _n [pweight=dem_weights], vce(linearized) singleunit(missing)
svy: reg govapproval infltreat
svy: reg govapproval infltreat id_dem id_rep education female dummy_QAGE i.Q6
svy: reg govconf infltreat
svy: reg govconf infltreat id_dem id_rep education female dummy_QAGE i.Q6


**Table D1 & Figure 2
*approval
reg govapproval infltreat id_ind id_rep infltreatXid_ind infltreatXid_rep education female dummy_QAGE state2-state51
estimates store ushted1
reg govapproval infltreat id_dem id_rep infltreatXid_dem infltreatXid_rep education female dummy_QAGE state2-state51
estimates store ushtei1
reg govapproval infltreat id_ind id_dem infltreatXid_ind infltreatXid_dem education female dummy_QAGE state2-state51
estimates store ushter1

coefplot ushted1 ushtei1 ushter1, keep(infltreat)  xline(0, lcolor(gray)) name(ushte1combo, replace) ciopts(lcolor(black)) mcolor(black)

*confidence
reg govconf infltreat id_ind id_rep infltreatXid_ind infltreatXid_rep education female dummy_QAGE state2-state51
estimates store ushted2
reg govconf infltreat id_dem id_rep infltreatXid_dem infltreatXid_rep education female dummy_QAGE state2-state51 
estimates store ushtei2
reg govconf infltreat id_ind id_dem infltreatXid_ind infltreatXid_dem education female dummy_QAGE state2-state51
estimates store ushter2

coefplot ushted2 ushtei2 ushter2, keep(infltreat)  xline(0, lcolor(gray)) name(ushte2combo, replace) ciopts(lcolor(black)) mcolor(black)

graph combine ushte1combo ushte2combo


**Table D2
svy: reg govapproval infltreat id_ind id_rep infltreatXid_ind infltreatXid_rep education female dummy_QAGE i.Q6
svy: reg govconf infltreat id_ind id_rep infltreatXid_ind infltreatXid_rep education female dummy_QAGE i.Q6


**Table D3
reg govapproval infltreat if id_dem==1
reg govapproval infltreat education female dummy_QAGE i.Q6 if id_dem==1
reg govconf infltreat if id_dem==1
reg govconf infltreat education female dummy_QAGE i.Q6 if id_dem==1


**Table D4
reg govapproval infltreat if id_ind==1
reg govapproval infltreat education female dummy_QAGE i.Q6 if id_ind==1
reg govconf infltreat if id_ind==1
reg govconf infltreat education female dummy_QAGE i.Q6 if id_ind==1


**Table D5
reg govapproval infltreat if id_rep==1
reg govapproval infltreat  education female dummy_QAGE i.Q6 if id_rep==1
reg govconf infltreat if id_rep==1
reg govconf infltreat  education female dummy_QAGE i.Q6 if id_rep==1


**Table D6
reg govapproval infltreat##c.partyid0 education female dummy_QAGE state2-state51
reg govconf infltreat##c.partyid0 education female dummy_QAGE state2-state51
reg govapproval infltreat##i.vote3 education female dummy_QAGE state2-state51
reg govconf infltreat##i.vote3 education female dummy_QAGE state2-state51


**Table D7
reg govapproval infltreat##c.education id_ind id_rep  female dummy_QAGE state2-state51
reg govconf infltreat##c.education id_ind id_rep  female dummy_QAGE state2-state51
reg govapproval infltreat##c.female  id_ind id_rep  education dummy_QAGE state2-state51
reg govconf infltreat##c.female  id_ind id_rep  education dummy_QAGE state2-state51
reg govapproval infltreat##c.dummy_QAGE   id_ind id_rep  education female state2-state51
reg govconf infltreat##c.dummy_QAGE   id_ind id_rep  education female state2-state51


*Table E1
reg govapproval infltreat##c.Q8 dummy_QAGE   id_ind id_rep  education female state2-state51
reg govconf infltreat##c.Q8 dummy_QAGE   id_ind id_rep  education female state2-state51
reg govapproval infltreat##c.Q8 dummy_QAGE   id_ind id_rep  education female infltreatXid_ind infltreatXid_rep  state2-state51
reg govconf infltreat##c.Q8 dummy_QAGE   id_ind id_rep  education female infltreatXid_ind infltreatXid_rep  state2-state51


**Figure E1
interflex govapproval infltreat Q8 dummy_QAGE   id_ind id_rep  education female state2-state51, type(linear)
interflex govconf infltreat Q8 dummy_QAGE   id_ind id_rep  education female state2-state51, type(linear)


**Table E2
reg govapproval infltreat##c.stateinflation2021  id_ind id_rep  education female dummy_QAGE state2-state51
reg govconf infltreat##c.stateinflation2021    id_ind id_rep  education female dummy_QAGE state2-state51
reg govapproval infltreat##c.stateinflation2021 dummy_QAGE   id_ind id_rep infltreatXid_ind infltreatXid_rep education female dummy_QAGE state2-state51
reg govconf infltreat##c.stateinflation2021 dummy_QAGE   id_ind id_rep infltreatXid_ind infltreatXid_rep education female dummy_QAGE state2-state51


**Figure 3
interflex govapproval infltreat stateinflation2021 dummy_QAGE   id_ind id_rep  education female state2-state51, type(linear)
interflex govconf infltreat stateinflation2021 dummy_QAGE   id_ind id_rep  education female state2-state51, type(linear)


**Figure E2
interflex govapproval infltreat stateinflation2021 dummy_QAGE   id_ind id_rep infltreatXid_ind infltreatXid_rep  education female state2-state51, type(linear)
interflex govconf infltreat stateinflation2021 dummy_QAGE   id_ind id_rep infltreatXid_ind infltreatXid_rep education female state2-state51, type(linear)


**Figure E3
interflex govapproval infltreat stateinflation2021 dummy_QAGE   id_ind id_rep  education female state2-state51, n(2)
interflex govconf infltreat stateinflation2021 dummy_QAGE   id_ind id_rep  education female state2-state51, n(2)
